package com.example.ThinkInJava;

import java.util.Arrays;

public class Array1 {
    static class BeSphere {}
    static BeSphere[] getArray(int n) {
        BeSphere[] res = new BeSphere[n];
        for (int i = 0; i < n; i++) {
            res[i] = new BeSphere();
        }
        return res;
    }

    public static void main(String[] args) {
        System.out.println(Arrays.asList(getArray(3)));
    }
}
